package com.hellobike.haxing.modules.wms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: t_wms_delivery_order_detail
 * @Author: haxing-boot
 * @Date: 2020-01-14
 * @Version: V1.0
 */
@Data
@TableName("t_wms_delivery_order_detail")
public class DeliveryOrderDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * orderHeaderId
     */
    @Excel(name = "orderHeaderId", width = 15)
    private Long orderHeaderId;
    /**
     * orderHeaderCode
     */
    @Excel(name = "orderHeaderCode", width = 15)
    private String orderHeaderCode;
    /**
     * productId
     */
    @Excel(name = "productId", width = 15)
    private Long productId;
    /**
     * skuId
     */
    @Excel(name = "skuId", width = 15)
    private Long skuId;
    /**
     * barcode
     */
    @Excel(name = "barcode", width = 15)
    private String barcode;
    /**
     * skuCode
     */
    @Excel(name = "skuCode", width = 15)
    private String skuCode;
    /**
     * skuName
     */
    @Excel(name = "skuName", width = 15)
    private String skuName;
    /**
     * skuUnit
     */
    @Excel(name = "skuUnit", width = 15)
    private String skuUnit;
    /**
     * userId
     */
    @Excel(name = "userId", width = 15)
    private Long userId;
    /**
     * price
     */
    @Excel(name = "price", width = 15)
    private BigDecimal price;
    /**
     * planQty
     */
    @Excel(name = "planQty", width = 15)
    private Integer planQty;
    /**
     * sendQty
     */
    @Excel(name = "sendQty", width = 15)
    private Integer sendQty;
    /**
     * receivedQty
     */
    @Excel(name = "receivedQty", width = 15)
    private Integer receivedQty;
    /**
     * receiveDiffReason
     */
    @Excel(name = "receiveDiffReason", width = 15)
    private String receiveDiffReason;
    /**
     * warehouseId
     */
    @Excel(name = "warehouseId", width = 15)
    private Long warehouseId;
    /**
     * shopId
     */
    @Excel(name = "shopId", width = 15)
    private Long shopId;
    /**
     * createTime
     */
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * updateTime
     */
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
     * createBy
     */
    @Excel(name = "createBy", width = 15)
    private Integer createBy;
    /**
     * updateBy
     */
    @Excel(name = "updateBy", width = 15)
    private Integer updateBy;
    /**
     * deleted
     */
    @Excel(name = "deleted", width = 15)
    @TableLogic
    private Integer deleted;
}
